home *** CD-ROM | disk | FTP | other *** search
/ J-Mac Electronics & Home Comics / J-Mac Electronics & Home Comics.iso / mac / J-MAC / G35F / G33_TIPS.Dxr / 00055.ls < prev    next >
Encoding:
Text File  |  1998-01-22  |  4.5 KB  |  240 lines

  1. global i, gno, jumplistkeyg, jumplistkeyz, jumplistkeyb
  2.  
  3. on startMovie
  4.   set mycursor to [1, 2]
  5.   repeat with i = 11 to 18
  6.     set the cursor of sprite i to mycursor
  7.   end repeat
  8.   set jumplistkeyg to ["G1", "G2", "G3", "G4", "G5", "G6"]
  9.   set jumplistkeyb to ["B1", "B2", "B3", "B4", "B5", "B6"]
  10.   set jumplistkeyz to ["Z1", "Z2", "Z3", "Z4", "Z5", "Z6", "Z7", "Z8", "Z9", "Z10", "Z11", "Z12"]
  11.   set volset to the soundLevel
  12.   if the soundEnabled = 0 then
  13.     set the soundEnabled to 1
  14.   end if
  15. end
  16.  
  17. on donextg
  18.   if (gno + 1) = 7 then
  19.     set gno to 0
  20.   end if
  21.   go(getAt(jumplistkeyg, gno + 1))
  22. end
  23.  
  24. on dobackg
  25.   if (gno - 1) = 0 then
  26.     set gno to 7
  27.   end if
  28.   go(getAt(jumplistkeyg, gno - 1))
  29. end
  30.  
  31. on donextb
  32.   if (gno + 1) = 7 then
  33.     set gno to 0
  34.   end if
  35.   go(getAt(jumplistkeyb, gno + 1))
  36. end
  37.  
  38. on dobackb
  39.   if (gno - 1) = 0 then
  40.     set gno to 7
  41.   end if
  42.   go(getAt(jumplistkeyb, gno - 1))
  43. end
  44.  
  45. on donextz
  46.   if (gno + 1) = 13 then
  47.     set gno to 0
  48.   end if
  49.   go(getAt(jumplistkeyz, gno + 1))
  50. end
  51.  
  52. on dobackz
  53.   if (gno - 1) = 0 then
  54.     set gno to 13
  55.   end if
  56.   go(getAt(jumplistkeyz, gno - 1))
  57. end
  58.  
  59. on doexit
  60.   sound stop 1
  61.   go("M2", "@::JMACMENU")
  62. end
  63.  
  64. on dolink
  65.   puppetSound(1, 1)
  66.   sound fadeOut 1, 60 * 2
  67.   delay(60 * 3)
  68.   sound stop 1
  69.   go(1, "G35_NANI")
  70. end
  71.  
  72. on crtprof
  73.   puppetSprite(6, 1)
  74.   repeat while the stillDown
  75.     set the memberNum of sprite 6 to 8
  76.     updateStage()
  77.   end repeat
  78.   set the memberNum of sprite 6 to 7
  79.   updateStage()
  80.   puppetSprite(6, 0)
  81. end
  82.  
  83. on crtopencara
  84.   puppetSprite(8, 1)
  85.   repeat while the stillDown
  86.     set the memberNum of sprite 8 to 12
  87.     updateStage()
  88.   end repeat
  89.   set the memberNum of sprite 8 to 11
  90.   updateStage()
  91.   puppetSprite(8, 0)
  92. end
  93.  
  94. on crtopenbook
  95.   puppetSprite(7, 1)
  96.   repeat while the stillDown
  97.     set the memberNum of sprite 7 to 10
  98.     updateStage()
  99.   end repeat
  100.   set the memberNum of sprite 7 to 9
  101.   updateStage()
  102.   puppetSprite(7, 0)
  103. end
  104.  
  105. on crtclose
  106.   puppetSprite(9, 1)
  107.   repeat while the stillDown
  108.     set the memberNum of sprite 9 to 14
  109.     updateStage()
  110.   end repeat
  111.   set the memberNum of sprite 9 to 13
  112.   updateStage()
  113.   puppetSprite(9, 0)
  114. end
  115.  
  116. on crtlink
  117.   puppetSprite(10, 1)
  118.   repeat while the stillDown
  119.     set the memberNum of sprite 10 to 16
  120.     updateStage()
  121.   end repeat
  122.   set the memberNum of sprite 10 to 15
  123.   updateStage()
  124.   puppetSprite(10, 0)
  125. end
  126.  
  127. on crtnext
  128.   puppetSprite(20, 1)
  129.   repeat while the stillDown
  130.     set the memberNum of sprite 20 to 24
  131.     updateStage()
  132.   end repeat
  133.   set the memberNum of sprite 20 to 23
  134.   updateStage()
  135.   puppetSprite(20, 0)
  136. end
  137.  
  138. on crtback
  139.   puppetSprite(21, 1)
  140.   repeat while the stillDown
  141.     set the memberNum of sprite 21 to 26
  142.     updateStage()
  143.   end repeat
  144.   set the memberNum of sprite 21 to 25
  145.   updateStage()
  146.   puppetSprite(21, 0)
  147. end
  148.  
  149. on crtnextb
  150.   puppetSprite(20, 1)
  151.   repeat while the stillDown
  152.     set the memberNum of sprite 20 to 35
  153.     updateStage()
  154.   end repeat
  155.   set the memberNum of sprite 20 to 34
  156.   updateStage()
  157.   puppetSprite(20, 0)
  158.   puppetSprite(1, 0)
  159. end
  160.  
  161. on crtbackb
  162.   puppetSprite(21, 1)
  163.   repeat while the stillDown
  164.     set the memberNum of sprite 21 to 37
  165.     updateStage()
  166.   end repeat
  167.   set the memberNum of sprite 21 to 36
  168.   updateStage()
  169.   puppetSprite(21, 0)
  170.   puppetSprite(1, 0)
  171. end
  172.  
  173. on crtyubil
  174.   puppetSprite(23, 1)
  175.   repeat while the stillDown
  176.     set the memberNum of sprite 23 to 41
  177.     updateStage()
  178.   end repeat
  179.   set the memberNum of sprite 23 to 40
  180.   updateStage()
  181.   puppetSprite(23, 0)
  182. end
  183.  
  184. on crtyubir
  185.   puppetSprite(24, 1)
  186.   repeat while the stillDown
  187.     set the memberNum of sprite 24 to 43
  188.     updateStage()
  189.   end repeat
  190.   set the memberNum of sprite 24 to 42
  191.   updateStage()
  192.   puppetSprite(24, 0)
  193. end
  194.  
  195. on crtzoomout
  196.   puppetSprite(23, 1)
  197.   repeat while the stillDown
  198.     set the memberNum of sprite 23 to 49
  199.     updateStage()
  200.   end repeat
  201.   set the memberNum of sprite 23 to 48
  202.   updateStage()
  203.   puppetSprite(23, 0)
  204.   puppetSprite(1, 0)
  205. end
  206.  
  207. on crtclose2
  208.   puppetSprite(22, 1)
  209.   repeat while the stillDown
  210.     set the memberNum of sprite 22 to 28
  211.     updateStage()
  212.   end repeat
  213.   set the memberNum of sprite 22 to 27
  214.   updateStage()
  215.   puppetSprite(22, 0)
  216. end
  217.  
  218. on crtclose3
  219.   puppetSprite(22, 1)
  220.   repeat while the stillDown
  221.     set the memberNum of sprite 22 to 39
  222.     updateStage()
  223.   end repeat
  224.   set the memberNum of sprite 22 to 38
  225.   updateStage()
  226.   puppetSprite(22, 0)
  227.   puppetSprite(1, 0)
  228. end
  229.  
  230. on crtexit
  231.   puppetSprite(21, 1)
  232.   repeat while the stillDown
  233.     set the memberNum of sprite 21 to 64
  234.     updateStage()
  235.   end repeat
  236.   set the memberNum of sprite 21 to 63
  237.   updateStage()
  238.   puppetSprite(21, 0)
  239. end
  240.